<template>
  <button class="primary">
    <slot></slot>
  </button>
</template>

<script>
export default {
  name: "XButton",
  props: {
    type: { type: String, default: "primary" },
  },
};
</script>

<style scoped lang="less">
.primary {
  background: blueviolet;
  color: #ffffff;
}
</style>
